package com.lvmama.comm.bee.service.sync;

import java.util.List;
import java.util.Map;

import com.lvmama.comm.sync.po.SyncDataSource;


/**
 * @author pengfei
 *
 */
public interface SyncDataSourceService {
	void save(SyncDataSource syncDataSource);
	
	void update(SyncDataSource syncDataSource);
	
	List<SyncDataSource> findAll();
	
	List<SyncDataSource> findBySourceCode(String sourceCode);

	List<SyncDataSource> findPageListByCondition(Map<String,Object> param);
	
	Long count (Map<String,Object> parmas);
	
	SyncDataSource findById(Long sourceId);
	
	void deleteById(Long sourceId);
	
}
